Inside Macintosh: Files

Previous | Chapter Top | Chapter Contents | Next

File and Directory Manipulation Routines

The File Manager includes a set of file and directory manipulation routines that accept FSSpec records as parameters. Depending on the requirements of your application and on the environment in which it is running, you may be able to accomplish all your file and directory operations by using these routines.

Before calling any of these routines, however, you should call the Gestalt function to ensure that they are available in the operating environment. (See "Testing for File Management Routines" for an illustration of calling Gestalt .) If these routines are not available, you can call the corresponding HFS routines.


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next